package com.ruoyi.project.system.punishment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 惩罚管理对象 punishment
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Punishment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long iid;

    /** 惩罚名称 */
    @Excel(name = "惩罚名称")
    private String punishmentName;

    /** 扣分 */
    @Excel(name = "扣分")
    private Long decpoint;

    public void setIid(Long iid)
    {
        this.iid = iid;
    }

    public Long getIid()
    {
        return iid;
    }
    public void setPunishmentName(String punishmentName)
    {
        this.punishmentName = punishmentName;
    }

    public String getPunishmentName()
    {
        return punishmentName;
    }
    public void setDecpoint(Long decpoint)
    {
        this.decpoint = decpoint;
    }

    public Long getDecpoint()
    {
        return decpoint;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("punishmentName", getPunishmentName())
            .append("decpoint", getDecpoint())
            .toString();
    }
}
